Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for Dll (0.33 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/windows-resources/groovy/build-resource-only-dll.gradle

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 690 bytes
    - Viewed (0)
  2. src/syscall/dll_windows.go

    // A DLL implements access to a single DLL.
    type DLL struct {
    	Name   string
    	Handle Handle
    }
    
    // LoadDLL loads the named DLL file into memory.
    //
    // If name is not an absolute path and is not a known system DLL used by
    // Go, Windows will search for the named DLL in many locations, causing
    // potential DLL preloading attacks.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/ws2_32.txt

    [!GOOS:windows] skip
    
    go run .
    stdout 'ws2_32.dll: not found'
    
    go run -tags net .
    stdout 'ws2_32.dll: found'
    
    -- go.mod --
    module m
    
    go 1.21
    
    -- utils.go --
    package main
    
    import (
    	"fmt"
    	"syscall"
    	"unsafe"
    )
    
    func hasModuleHandle() {
    	const ws2_32 = "ws2_32.dll"
    	getModuleHandle := syscall.MustLoadDLL("kernel32.dll").MustFindProc("GetModuleHandleW")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 18:57:32 UTC 2024
    - 730 bytes
    - Viewed (0)
  4. src/runtime/syscall_windows_test.go

    	"reflect"
    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    type DLL struct {
    	*syscall.DLL
    	t *testing.T
    }
    
    func GetDLL(t *testing.T, name string) *DLL {
    	d, e := syscall.LoadDLL(name)
    	if e != nil {
    		t.Fatal(e)
    	}
    	return &DLL{DLL: d, t: t}
    }
    
    func (d *DLL) Proc(name string) *syscall.Proc {
    	p, e := d.FindProc(name)
    	if e != nil {
    		d.t.Fatal(e)
    	}
    	return p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  5. src/runtime/testdata/testwinlibthrow/main.go

    package main
    
    import (
    	"os"
    	"syscall"
    )
    
    func main() {
    	dll := syscall.MustLoadDLL("veh.dll")
    	RaiseNoExcept := dll.MustFindProc("RaiseNoExcept")
    	ThreadRaiseNoExcept := dll.MustFindProc("ThreadRaiseNoExcept")
    
    	thread := len(os.Args) > 1 && os.Args[1] == "thread"
    	if !thread {
    		RaiseNoExcept.Call()
    	} else {
    		ThreadRaiseNoExcept.Call()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 348 bytes
    - Viewed (0)
  6. src/runtime/signal_windows_test.go

    	testenv.MustHaveCGO(t)
    	testenv.MustHaveExecPath(t, "gcc")
    	testprog.Lock()
    	defer testprog.Unlock()
    	dir := t.TempDir()
    
    	// build go dll
    	dll := filepath.Join(dir, "testwinlib.dll")
    	cmd := exec.Command(testenv.GoToolPath(t), "build", "-o", dll, "-buildmode", "c-shared", "testdata/testwinlib/main.go")
    	out, err := testenv.CleanCmdEnv(cmd).CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. src/runtime/os_windows.go

    //go:cgo_import_dynamic runtime._CreateWaitableTimerA CreateWaitableTimerA%3 "kernel32.dll"
    //go:cgo_import_dynamic runtime._CreateWaitableTimerExW CreateWaitableTimerExW%4 "kernel32.dll"
    //go:cgo_import_dynamic runtime._DuplicateHandle DuplicateHandle%7 "kernel32.dll"
    //go:cgo_import_dynamic runtime._ExitProcess ExitProcess%1 "kernel32.dll"
    //go:cgo_import_dynamic runtime._FreeEnvironmentStringsW FreeEnvironmentStringsW%1 "kernel32.dll"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/os/OperatingSystemTest.groovy

            os.sharedLibrarySuffix == ".dll"
            os.linkLibrarySuffix == ".lib"
            os.getSharedLibraryName("a.dll") == "a.dll"
            os.getSharedLibraryName("a.DLL") == "a.DLL"
            os.getSharedLibraryName("a") == "a.dll"
            os.getSharedLibraryName("a.lib") == "a.dll"
            os.getSharedLibraryName("a.b/c") == "a.b/c.dll"
            os.getSharedLibraryName("a.b\\c") == "a.b\\c.dll"
            os.getLinkLibraryName("a") == "a.lib"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/build.gradle

                        if (os.windows) {
                            // Windows uses a .dll file, with a different link file if it exists (not Cygwin or MinGW)
                            sharedLibraryFile = file("${baseDir}/util.dll")
                            if (file("${baseDir}/util.lib").exists()) {
                                sharedLibraryLinkFile = file("${baseDir}/util.lib")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/DefaultArtifactVariantSelectorFactoryTest.groovy

      - artifactType 'dll'
    Found the following transforms:
      - From '<variant1>':
          - With source attributes: artifactType 'jar'
          - Candidate transform(s):
              - Transform '' producing attributes: artifactType 'dll'
      - From '<variant2>':
          - With source attributes: artifactType 'classes'
          - Candidate transform(s):
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top