CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: webdev

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    1,282

    Re: Return "1st Quarter" or "2nd Quarter"...

    would this be the answer?




    SELECT case when (MONTH(date) >=1 AND MONTH(date) <=3) then "1st Quarter"
    when (MONTH(date) >=4 AND MONTH(date) <=6) then "2nd Quarter"
    ...
  2. Replies
    1
    Views
    1,282

    Return "1st Quarter" or "2nd Quarter"...

    I was asked to write a single SQL SELECT statement that would return "1st Quarter" or "2nd Quarter" or "3rd Quarter" or "4th Quarter" based on a date column.

    I know that I can call some SQL...
  3. Replies
    1
    Views
    1,179

    Remote SQL Server Connection

    I have an SQL Server database in a computer that is connected to the internet. I have port 1433 opened in the router firewall. Then I got a hosting account in godaddy, my website is coded in PHP. Is...
  4. Replies
    4
    Views
    4,506

    Re: Sending/Reciving SMS from computer

    I am in the same situation...

    I connected my NOKIA phone into my PC through bluetooth. I then started a new C# project and started playing around with the "AT Commands"...
  5. Thread: Link Errors

    by webdev
    Replies
    8
    Views
    975

    Re: Link Errors

    Thank you. Very helpful answer, yes, I've forgotten about exporting the class or function for it to be linked to
  6. Thread: Link Errors

    by webdev
    Replies
    8
    Views
    975

    Re: Link Errors

    CAddressBook class is in mfcdll.lib

    I take the header file and #include it in nonmfcdll project then also added mfcdll.lib into the Linker -> Input setting

    I created an instance of CAddressBook...
  7. Thread: Link Errors

    by webdev
    Replies
    8
    Views
    975

    Re: Link Errors

    Sample link errors:



    (void)" (??1CAddressBook@@QAE@XZ) referenced in function _DllMain@12
    1>nonmfc.obj : error LNK2019: unresolved external symbol "public: void __thiscall...
  8. Thread: Link Errors

    by webdev
    Replies
    8
    Views
    975

    Re: Link Errors

    Hi, my MFC dll project also generates a .lib file, that's where I am trying to link to and getting link errors.
  9. Thread: Link Errors

    by webdev
    Replies
    8
    Views
    975

    Link Errors

    I have an MFC dll project that also generates a .lib file through "Import Library" in VS2005 project settings. The .dll and the .lib are generated without any problem.

    Then I have another DLL...
  10. Question about EXEs linking with static LIBs

    I have a library configured as:

    Configuration Type: Static Library (.lib)
    Use of MFC: Use Standard Windows Libraries

    Then I have an application (.exe) configured as:

    Configuration Type:...
  11. Replies
    12
    Views
    3,067

    Re: Simple std::vector question

    I have a related question,

    how do you create an std::vector<unsigned char> from an ATL CString ?
  12. Replies
    7
    Views
    10,512

    Re: My App crashes in Windows 7 and Windows Vista

    ahmd, you're post is such a huge help. Was able to acquire the .mdmp and .hdmp along with other files.

    Doing exactly as you mentioned, I was able to trace the crash at free.c in the following...
  13. Replies
    4
    Views
    902

    Re: Dialog procedure not executed

    Figured out the cause by calling GetLastError()

    After I moved the resources to a satellite DLL (resource-only DLL), the Dll gets unloaded before the DialogBoxParam(...) was called
  14. Replies
    4
    Views
    902

    Dialog procedure not executed

    ::DialogBoxParam(hInstance, MAKEINTRESOURCE(IDD_DIALOG1), hwndParent, (DLGPROC)dlgProc, (LPARAM)this);


    The code above should call dlgProc but in my case, it immediately return with IDCANCEL...
  15. Replies
    7
    Views
    10,512

    My App crashes in Windows 7 and Windows Vista

    I have developed an application using Visual Studio 2005. The application runs fine on Windows XP but crashes on Windows 7 and Windows Vista.

    I checked the event logs and saw this:


    Log Name: ...
  16. Replies
    4
    Views
    920

    Re: Resource View tab problem

    I don't know what has changed but this morning, when I opened up Visual Studio, I can already see all of the resources :D Could be some windows updates...
  17. Replies
    4
    Views
    920

    Re: Resource View tab problem

    String tables and dialogs that are French and Russian don't show up.

    To create these resources, I had to right-click on the specific resource then choose 'Insert copy...' and then choose the...
  18. Replies
    4
    Views
    920

    Resource View tab problem

    Hi,

    In one .rc file, I have defined resources in Spanish, French, Russian languages but when viewing in Resources tab of Visual Studio 2005 I could only see the Spanish resources. Why is this?
    ...
  19. Replies
    1
    Views
    1,435

    Re: Problem in JUnit calling UNICODE (C++) APIs

    Another question is this

    Native.getLastError() always give 0

    any idea?
  20. Replies
    1
    Views
    1,435

    Problem in JUnit calling UNICODE (C++) APIs

    I'm running JUnit tests (using Eclipse) to test a DLL written in C++. This DLL was in MBCS before which the JUnit test cases were running fine. Now that the DLL is made UNICODE, the JUnit tests would...
  21. Satellite Dll - No option for Quechua (Peru)

    I am using VS2005.

    Currently, I'm adding sattellite DLLs, one of the language I have to work on is Quechua(Peru), however, when I tried to add a copy of the resources (string table and dialog), I...
  22. Replies
    3
    Views
    2,095

    Re: Link Error _DllMain@12 already defined

    I've been to that link already and tried the fixes but the following error still exists


    1>uafxcwd.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MyDLL.obj

    What puzzles me...
  23. Replies
    3
    Views
    2,095

    Link Error _DllMain@12 already defined

    Here's the situation:

    I have a VS 2005 project and 'Use of MFC' is set as [Use Windows Standard Libraries]. This project generates a DLL

    When compiling, I am getting the following link errors
    ...
  24. Thread: Passing Data

    by webdev
    Replies
    6
    Views
    937

    Re: Passing Data

    Has anyone tried Using DDERequest to determine which Excel sheet is active?

    I tried:

    DDERequest(dInst, hConv, "[ActiveSheet.Name]","ActiveSheet");

    but did not return any data.
  25. Thread: Passing Data

    by webdev
    Replies
    6
    Views
    937

    Re: Passing Data

    Getting parametters of ShellExecute() from vba was not possible. I tried DDE and it work. I can write text into a cell in my excel file.

    The next problem is, how could a vba public function be...
Results 1 to 25 of 30
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured