Search:

Type: Posts; User: fmuir

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    2,296

    @ Novacain, Thanks for your assistance!!. I...

    @ Novacain,
    Thanks for your assistance!!. I don't disagree with any thing that you have said. I'll look into fixing those issues that you have mentioned, that I have access to. However, since this...
  2. Replies
    10
    Views
    2,296

    @ novacain. Your correct, there is no message...

    @ novacain.
    Your correct, there is no message pump. The code snippet is the some and substance of the DLL. The program that uses the functions in the DLL doesn't have a message pump, so no...
  3. Replies
    10
    Views
    2,296

    GReaper, Thanks for replying. I am using...

    GReaper,

    Thanks for replying. I am using VS2008 with the Unicode Character Set. The compiler automatically uses GetModuleHandleW when Unicode is used. It will use GetModuleHandleA when Unicode is...
  4. Replies
    10
    Views
    2,296

    // Modeless Dialog extern "C" { TS104_API INT...

    // Modeless Dialog
    extern "C"
    {
    TS104_API INT TS104_S1(VOID)
    {
    int err;
    hWnd = 0;
    hInstance = GetModuleHandle(L"TS104.dll");
    if( hInstance <= NULL)
    {
  5. Replies
    10
    Views
    2,296

    Modeless Dialog fails to stay displayed.

    Hello,

    Does anybody have any idea why this snippet of code produces a modeless dialog box (when included in a subroutine contained in a DLL)that flashes on the screen for a fraction of a second...
  6. Replies
    4
    Views
    1,133

    @ Salem, Trashed the casts and changed the...

    @ Salem,

    Trashed the casts and changed the lines of code to 'hInstance = GetModuleHandle(L"TS104.dll");,' re-compiled and the dialogs opened. Your suggestion was right on. You also piqued my...
  7. Replies
    4
    Views
    1,133

    @ Salem, Thanks for the suggestion. I'll look...

    @ Salem,

    Thanks for the suggestion. I'll look at UNICODE strings tomorrow! I am assuming that GetModuleHandle() is the function to use. We'll see what happens later!

    Regards,
    -Frank
  8. Replies
    4
    Views
    1,133

    Dialog Boxes from DLL Fail to Open

    Hello,
    I have created a DLL containing two functions that attempt to invoke dialog boxes. However, when executing the program that
    calls the functions I see that the MessageBox, that's defined in...
  9. Replies
    6
    Views
    1,829

    @ Elysia, Your example of a minimal coding...

    @ Elysia,
    Your example of a minimal coding sample that compiled was spot on. While thinking about something that would work, I decided to create a Win32 app using a minimal amount of code from my...
  10. Replies
    6
    Views
    1,829

    Dialog Boxes inside DLL

    Hello Elysia,

    Thanks for your response.


    Namespace std is history in this project. I also removed the cast (DLGPROC) from both the CREATEDIALOG and DIALOGBOX statements. The documation stated...
  11. Replies
    6
    Views
    1,829

    Dialog Boxes inside DLL

    Hello,
    I am working on a Win32 project with VS2008 Express, where I am attempting to write a C++ program that places two dialog boxes inside a DLL. The two dialog boxes will be accessed with a C...
Results 1 to 11 of 11