InstallShield Custom Dialog (5)

zhaozj2021-02-17  62

/ / =========================================================================================================================================================================================== ===========================

// File: Winsysdll.h

// Description: Define the function prototype of the system dynamic library

//

// Update:

// 2004/02/06

/ / =========================================================================================================================================================================================== ===========================

#ifndef __winsysdll_h__

#define __winsysdll_h__

/ / -------------------------------------------------------------------------------------------- ----

// Prototype User32 DLL Functions Used in Project.

/ / -------------------------------------------------------------------------------------------- ----

/ / -------------------------------------------------------------------------------------------- ----

// Prototype Ocbccp32 DLL Functions Used in Project.

/ / -------------------------------------------------------------------------------------------- ----

#ifndef odbc_add_dsn

#define odbc_add_dsn 1

#ENDIF

#ifndef odbc_config_dsn

#define odbc_config_dsn 2

#ENDIF

#ifndef odbc_add_sys_dsn

#define odbc_add_sys_dsn 4

#ENDIF

#ifndef odbc_config_sys_dsn

#define odbc_config_sys_dsn 5

#ENDIF

#ifndef odbc_install_complete

#define odbc_install_complete 2

#ENDIF

#ifndef odbc_install_deiver

#define odbc_install_deiver 1

#ENDIF

#ifndef SQL_MAX_MESAGE_LENGTH

#define SQL_MAX_MESSAGE_LENGTH 512 # ENDIF

#ifndef SQL_SUCCESS_WITH_INFO

#define SQL_SUCCESS_WITH_INFO 1

#ENDIF

#ifndef SQL_NO_DATA

#define SQL_NO_DATA 100

#ENDIF

#ifndef SQL_ERROR

#define SQL_ERROR -1

#ENDIF

Prototype Bool Odbccp32.sqlconfigDataSource (hwnd, short, byval string, byval string);

Prototype bool odbccp32.sqlvaliddsn (byval string);

Prototype Bool Odbccp32.sqlinstallererror (Short, Pointer, Byref String, Short, Pointer);

#ENDIF / / __WINSYSDLL_H__

The above is my right

Installshield

Some experiences in the down custom dialog. There is still some doubts when building a custom dialog, adding it on the custom dialog.

IP

After address control,

Waitondialog

Always return

DLG_ERR

Error, don't know how to add it on your custom dialog

IP

Address controls, until other controls, there is no attempt.

转载请注明原文地址:https://www.9cbs.com/read-29734.html

New Post(0)